package com.ruoyi.system.service;

import com.ruoyi.system.domain.KfnWorkOrderMaRichemont;
import com.ruoyi.system.domain.vo.KfnWorkOrderMaRichemontVo;
import com.ruoyi.system.domain.bo.KfnWorkOrderMaRichemontBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * Richemont MA工单Service接口
 *
 * @author Panda
 * @date 2024-01-05
 */
public interface IKfnWorkOrderMaRichemontService {

    /**
     * 查询Richemont MA工单
     */
    KfnWorkOrderMaRichemontVo queryById(String workOrderId);

    /**
     * 查询Richemont MA工单列表
     */
    TableDataInfo<KfnWorkOrderMaRichemontVo> queryPageList(KfnWorkOrderMaRichemontBo bo, PageQuery pageQuery);

    /**
     * 查询Richemont MA工单列表
     */
    List<KfnWorkOrderMaRichemontVo> queryList(KfnWorkOrderMaRichemontBo bo);

    /**
     * 新增Richemont MA工单
     */
    Boolean insertByBo(KfnWorkOrderMaRichemontBo bo);

    /**
     * 修改Richemont MA工单
     */
    Boolean updateByBo(KfnWorkOrderMaRichemontBo bo);

    /**
     * 校验并批量删除Richemont MA工单信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
